﻿<?php $this->beginContent('/layouts/main'); ?>

		<div id="content">
			<div class="breadcrumb">
<?php
$this->widget('zii.widgets.CBreadcrumbs', array(
'htmlOptions'=>array('class'=>'crumb'),
'homeLink'=>CHtml::link('首页',Yii::app()->homeUrl),
'links'=>$this->breadcrumbs,
));
?>
			</div>
				<?php echo $content; ?>

			<!--post列表结束-->
		</div>

		<div id="sidebar">
		<ul>
			<?php if(!Yii::app()->user->isGuest) $this->widget('UserMenu'); ?>			
			<li>
				<h2>标签云</h2>
				<div id="tags_content">
					<div id="flashcontent"></div> 						
				</div>
			</li>
			<li>
			<?php $this->widget('RecentPosts', array(
				'maxPosts'=>Yii::app()->params['RecentPostsCount']
			)); ?>
			</li>
			<li>
			<?php $this->widget('RecentComments', array(
				'maxComments'=>Yii::app()->params['recentCommentCount'],
			)); ?>
			</li>
		</ul>
		<div id="logo">
			<p id="topsns">
				<iframe width="100%" height="550" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=0&skin=1&isTitle=1&noborder=1&isWeibo=1&isFans=0&uid=1667633844&verifier=02959ff0&dpc=1"></iframe>
			</p>
		</div>
		</div>
		<!-- sidebar -->


<?php $this->endContent(); ?>